import { defineConfig } from '@umijs/max';
import proxy from './proxy';

import defaultSettings from './defaultSettings';
import routes from './routes';
export default defineConfig({
	antd: {},
	access: {},
	model: {},
	initialState: {},
	request: {},
	routes,
	...proxy,
	locale: {
		default: 'zh-CN',
		antd: true,
		baseNavigator: true,
	},
	layout: {
		...defaultSettings,
	},
	npmClient: 'yarn',
});
